<!-- INCLUDE ../include/title.html -->
<body>
<div class="ch-container">
    <div class="row">
        

        <div id="content" class="col-lg-10 col-sm-10 iframemain">
            <div class="row">
            <div class="box-content">
                <form role="form" id="form" method="post" enctype="multipart/form-data" name="modifyclass" action="index.php?do=Class/class_add">
                    <input type="hidden" name="action" value="modify"/>
                    <input type="hidden" name="ClassID" value="{ClassID}"/>



                    <div class="form-group">
                        <label for="classname">分类名称</label>
                        <input type="text" value="{ClassName}" required name="ClassName" placeholder="分类名称" id="classname" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="class_display">分类是否显示</label>                      
                            <select class="form-control" name = "ClassDiaplay">
                                {ClassDiaplay}
                            </select>
                    </div>

                    <div class="form-group">
                        <label for="class_display">分类显示顺序</label>                      
                            <select class="form-control" name = "ClassDiaplayOrder">
                                {ClassDiaplayOrder}
                            </select>
                    </div>

                    <div class="form-group">
                        <label for="class_display">分类类型</label>                      
                            <select class="form-control" name = "ClassType">
                                {ClassType}
                            </select>
                    </div>


                <!--  div class="form-group multipleselectedform">
                    <div class="floatleft leftwidth">
                        <label class="control-label" for="ChannelIDslt">频道</label>
                    </div>
                    <input id="ChannelID" name="ChannelID" type="hidden"/>
                    <div class="controls">
                        <select id="ChannelIDslt" name="ChannelIDslt" multiple class="form-control multipleselected" data-rel="chosen">
                            {ChannelID}
                        </select>
                    </div>
                </div  -->


                    <div class="form-group cleanfloat">
                        <label for="class_icon_1">分类图标1</label>
                        <input type="file" name="ClassIcon1" id="class_icon_1">
                        <!-- IF ClassIcon1 -->
                        <div class="imgpic">
                                <img src="{ClassIcon1}">
                        </div>
                        <!-- ENDIF -->
                    </div>
                    <div class="form-group">
                        <label for="class_icon_2">分类图标2</label>
                        <input type="file" name="ClassIcon2"  id="class_icon_2">
                         <!-- IF ClassIcon2 -->
                         <div class="imgpic">
                            <img src="{ClassIcon2}">
                        </div>
                        <!-- ENDIF -->
                    </div>

                    <div class="form-group cleanfloat">
                        <label for="class_type">备注</label>
                        <textarea  name="Comment" placeholder="Comment" id="comment" class="form-control">{Comment}</textarea>
                    </div>

                    <div class="form-group cleanfloat">
                        <button class="btn btn-default" type="dubmit">提交</button>
                    </div>
                </form>

            </div>
    </div>
    <!--/span-->

</div>


</div><!--/.fluid-container-->


<!-- INCLUDE ../include/bottom.html -->


<script>
    /*function submits(){
        var ChannelIDobj = $("#ChannelIDslt").chosen().val();
        $("#ChannelID").val(ChannelIDobj);
        $("#form").submit();
    }*/
    
</script>


</body>
